package com.sgst.job.services.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 学科领域表
 * </p>
 *
 * @author thinking
 * @since 2020-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class NstrSubject implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据库的唯一标识
     */
    @TableId(value = "sub_id", type = IdType.AUTO)
    private Integer subId;

    /**
     * 一级学科代码
     */
    private String subCode;

    /**
     * 一级学科名称
     */
    private String subName;


}
